<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>PintarOS: include/transmission.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PintarOS
   </div>
   <div id="projectbrief">Operating System for Smart Card</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">transmission.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Header file for transmission handler.  
<a href="#details">More...</a></p>

<p><a href="transmission_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structt__config__struct.html">t_config_struct</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">structure of transmission configuration  <a href="structt__config__struct.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0608320e36efced93fcda7c4dc6f4f0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0608320e36efced93fcda7c4dc6f4f0e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRANSMISSION_OK</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a0608320e36efced93fcda7c4dc6f4f0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed2577dab98039f6fe658fed0be3c904"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed2577dab98039f6fe658fed0be3c904"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRANSMISSION_ERROR</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aed2577dab98039f6fe658fed0be3c904"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a284b4a9e63d48cd157962b2447516b82"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a284b4a9e63d48cd157962b2447516b82">t_proto</a> { <a class="el" href="transmission_8h.html#a284b4a9e63d48cd157962b2447516b82a7c2d86b6055480bd86bece1f6e5af208">T0</a>, 
<a class="el" href="transmission_8h.html#a284b4a9e63d48cd157962b2447516b82a623238751deb7764bdebf4799fe30f07">T1</a>
 }</td></tr>
<tr class="memdesc:a284b4a9e63d48cd157962b2447516b82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmission protocol enumeration.  <a href="transmission_8h.html#a284b4a9e63d48cd157962b2447516b82">More...</a><br/></td></tr>
<tr class="separator:a284b4a9e63d48cd157962b2447516b82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5266b5ad080839acc7a5223b0ca0e1b5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5">t_baudrate</a> { <a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5a86d7bec7ffa5d95b1b73c494821e567f">B9600</a>, 
<a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5af975fbd1b044c9494e3b8bc23c746560">B19200</a>, 
<a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5accba157b6983e9577b802caa11c3f3a5">B38400</a>, 
<a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5acc2daa508b31c15a10d5c8e33a3ef533">B111600</a>
 }</td></tr>
<tr class="memdesc:a5266b5ad080839acc7a5223b0ca0e1b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmission Baudrate enumeration.  <a href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5">More...</a><br/></td></tr>
<tr class="separator:a5266b5ad080839acc7a5223b0ca0e1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a169c285ae63e3a225a8388865628f203"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a169c285ae63e3a225a8388865628f203">Transmission_Init</a> (struct <a class="el" href="structt__config__struct.html">t_config_struct</a> config)</td></tr>
<tr class="memdesc:a169c285ae63e3a225a8388865628f203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the transmission handler.  <a href="#a169c285ae63e3a225a8388865628f203">More...</a><br/></td></tr>
<tr class="separator:a169c285ae63e3a225a8388865628f203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11aea3db346de87d3f10f6c543ea7d53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a11aea3db346de87d3f10f6c543ea7d53">Transmission_GetHeader</a> ()</td></tr>
<tr class="memdesc:a11aea3db346de87d3f10f6c543ea7d53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive the command APDU header.  <a href="#a11aea3db346de87d3f10f6c543ea7d53">More...</a><br/></td></tr>
<tr class="separator:a11aea3db346de87d3f10f6c543ea7d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae86e1ed1e4012034de6440b5ada5651f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#ae86e1ed1e4012034de6440b5ada5651f">Transmission_SendACK</a> ()</td></tr>
<tr class="memdesc:ae86e1ed1e4012034de6440b5ada5651f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acknowledge command.  <a href="#ae86e1ed1e4012034de6440b5ada5651f">More...</a><br/></td></tr>
<tr class="separator:ae86e1ed1e4012034de6440b5ada5651f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ef19da553a231c76b131514e481e5af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a4ef19da553a231c76b131514e481e5af">Transmission_SendNACK</a> ()</td></tr>
<tr class="memdesc:a4ef19da553a231c76b131514e481e5af"><td class="mdescLeft">&#160;</td><td class="mdescRight">NAcknowledge command.  <a href="#a4ef19da553a231c76b131514e481e5af">More...</a><br/></td></tr>
<tr class="separator:a4ef19da553a231c76b131514e481e5af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76628e6ec361d32bd388cc35934be4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#aa76628e6ec361d32bd388cc35934be4f">Transmission_GetData</a> (uint8_t *dst, uint8_t len)</td></tr>
<tr class="memdesc:aa76628e6ec361d32bd388cc35934be4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get Command Data.  <a href="#aa76628e6ec361d32bd388cc35934be4f">More...</a><br/></td></tr>
<tr class="separator:aa76628e6ec361d32bd388cc35934be4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa41605f839fe40d6c435e77b2899712"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#afa41605f839fe40d6c435e77b2899712">Transmission_SendData</a> (uint8_t *src, uint8_t len)</td></tr>
<tr class="memdesc:afa41605f839fe40d6c435e77b2899712"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sent Response Data.  <a href="#afa41605f839fe40d6c435e77b2899712">More...</a><br/></td></tr>
<tr class="separator:afa41605f839fe40d6c435e77b2899712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a057a7c10efc64e52bee8a95047357267"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a057a7c10efc64e52bee8a95047357267">Transmission_SendSW</a> ()</td></tr>
<tr class="memdesc:a057a7c10efc64e52bee8a95047357267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sent Response Status Word.  <a href="#a057a7c10efc64e52bee8a95047357267">More...</a><br/></td></tr>
<tr class="separator:a057a7c10efc64e52bee8a95047357267"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a474d88653b739c898a7437eff240e659"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a474d88653b739c898a7437eff240e659"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>header</b> [5]</td></tr>
<tr class="separator:a474d88653b739c898a7437eff240e659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40aa640cd32fc53807a4dc72f8826d71"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40aa640cd32fc53807a4dc72f8826d71"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>sw</b></td></tr>
<tr class="separator:a40aa640cd32fc53807a4dc72f8826d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a002522bbea0df5d03dc136012c54d45b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a002522bbea0df5d03dc136012c54d45b"></a>
struct <a class="el" href="structt__config__struct.html">t_config_struct</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="transmission_8h.html#a002522bbea0df5d03dc136012c54d45b">tconfig</a></td></tr>
<tr class="memdesc:a002522bbea0df5d03dc136012c54d45b"><td class="mdescLeft">&#160;</td><td class="mdescRight">transmission configuration <br/></td></tr>
<tr class="separator:a002522bbea0df5d03dc136012c54d45b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file for transmission handler. </p>
<dl class="section author"><dt>Author</dt><dd>Ricky Hariady (<a href="#" onclick="location.href='mai'+'lto:'+'ric'+'ky'+'.ha'+'ri'+'ady'+'@e'+'nte'+'r.'+'web'+'.i'+'d'; return false;">ricky<span style="display: none;">.nosp@m.</span>.har<span style="display: none;">.nosp@m.</span>iady@<span style="display: none;">.nosp@m.</span>ente<span style="display: none;">.nosp@m.</span>r.web<span style="display: none;">.nosp@m.</span>.id</a>)</dd></dl>
<dl class="section date"><dt>Date</dt><dd>7/10/2013 </dd></dl>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a5266b5ad080839acc7a5223b0ca0e1b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="transmission_8h.html#a5266b5ad080839acc7a5223b0ca0e1b5">t_baudrate</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmission Baudrate enumeration. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a5266b5ad080839acc7a5223b0ca0e1b5a86d7bec7ffa5d95b1b73c494821e567f"></a>B9600</em>&nbsp;</td><td class="fielddoc">
<p>Baudrate 9.600 bit/s. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a5266b5ad080839acc7a5223b0ca0e1b5af975fbd1b044c9494e3b8bc23c746560"></a>B19200</em>&nbsp;</td><td class="fielddoc">
<p>Baudrate 19.200 bit/s. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a5266b5ad080839acc7a5223b0ca0e1b5accba157b6983e9577b802caa11c3f3a5"></a>B38400</em>&nbsp;</td><td class="fielddoc">
<p>Baudrate 38.400 bit/s. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a5266b5ad080839acc7a5223b0ca0e1b5acc2daa508b31c15a10d5c8e33a3ef533"></a>B111600</em>&nbsp;</td><td class="fielddoc">
<p>Baudrate 111.600 bit/s. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a284b4a9e63d48cd157962b2447516b82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="transmission_8h.html#a284b4a9e63d48cd157962b2447516b82">t_proto</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmission protocol enumeration. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a284b4a9e63d48cd157962b2447516b82a7c2d86b6055480bd86bece1f6e5af208"></a>T0</em>&nbsp;</td><td class="fielddoc">
<p>Using T0 Protocol. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a284b4a9e63d48cd157962b2447516b82a623238751deb7764bdebf4799fe30f07"></a>T1</em>&nbsp;</td><td class="fielddoc">
<p>Using T1 Protocol. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aa76628e6ec361d32bd388cc35934be4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_GetData </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get Command Data. </p>
<p>Receive and save data from terminal</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>address where to save data received </td></tr>
    <tr><td class="paramname">data</td><td>len indicate how much data would be received (in byte) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a11aea3db346de87d3f10f6c543ea7d53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_GetHeader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Receive the command APDU header. </p>
<p>Call by main loop, then read 5 byte of data by <a class="el" href="hal_8h.html#a136930f47e2cdb4cdd6bc147b9703b0f" title="Receive 1 byte data. ">HAL_IO_RxByte()</a>. The command APDU header received then saved in header variable</p>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a169c285ae63e3a225a8388865628f203"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Transmission_Init </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structt__config__struct.html">t_config_struct</a>&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the transmission handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>The initialization structure </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result<br/>
 Success = TRANSMISSION_OK<br/>
 Not Success = TRANSMISSION_ERROR </dd></dl>

</div>
</div>
<a class="anchor" id="ae86e1ed1e4012034de6440b5ada5651f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_SendACK </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Acknowledge command. </p>
<p>Send back INS from header</p>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="afa41605f839fe40d6c435e77b2899712"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_SendData </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sent Response Data. </p>
<p>Sent Response Data to terminal</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>address where data to be sent are saved </td></tr>
    <tr><td class="paramname">data</td><td>len indicate how much data would be sent (in byte) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a4ef19da553a231c76b131514e481e5af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_SendNACK </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>NAcknowledge command. </p>
<p>Send back negation of INS from header</p>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a057a7c10efc64e52bee8a95047357267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Transmission_SendSW </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sent Response Status Word. </p>
<p>Sent Response status word to terminal</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>address where to save data received </td></tr>
    <tr><td class="paramname">data</td><td>len indicate how much data would be received (in byte) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jun 4 2014 18:13:31 for PintarOS by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
